
        <div class="panel panel-success">
            <div class="panel-heading">邮件通知设置</div>
            <div class="panel-body">
                <div class="form-group">
                    <label class="col-xs-12 col-sm-3 col-md-2 control-label">提醒接收邮箱</label>
                    <div class="col-xs-12 col-sm-5">
                        <input type="text" name="noticeemail" class="form-control" value="{$activity['noticeemail']}" />
                    </div>
					<div class="col-xs-12 col-sm-4"><a href="./index.php?c=profile&a=notify&">邮件参数设置</a></div>
                </div>
            </div>
        </div>

        <div class="panel panel-success">
            <div class="panel-heading">短信通知设置 （表单所有内容-包含表单填写的所有项目,内容较多可能分拆成数条短信,请慎用）</div>
            <div class="panel-body">
                <div class="form-group">
                    <label class="col-xs-12 col-sm-3 col-md-2 control-label">通知对象</label>
                    <div class="col-xs-12 col-sm-9">
		 				<label class="radio-inline"><input type="radio" name="sms" value="0" {if empty($activity) || $par['sms'] == 0} checked="checked"{/if} onclick="$('#sms').show();" /> 1、提交通知管理员</label>
                		<label class="radio-inline"><input type="radio" name="sms" value="1" {if $par['sms'] == 1} checked="checked"{/if} onclick="$('#sms').hide();" /> 2、受理通知用户</label>
                		<label class="radio-inline"><input type="radio" name="sms" value="2" {if $par['sms'] == 2} checked="checked"{/if} onclick="$('#sms').show();" /> 支持1、2</label>
                    </div>
                </div>
                <div class="form-group" id="sms" {if $par['sms'] == 1}style="display:none"{/if}>
                    <label class="col-xs-12 col-sm-3 col-md-2 control-label">提醒接收手机</label>
                    <div class="col-xs-12 col-sm-9">
                        <input type="text" name="mobile" class="form-control" value="{$activity['mobile']}" />
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-xs-12 col-sm-3 col-md-2 control-label">短信通知模板</label>
                    <div class="col-xs-12 col-sm-9">
					{if pdo_tableexists('dayu_sms')}
						<select name="smsnotice" class='form-control'>
							<option value="0">不使用短信</option>
							{loop $sms $s}
							<option value="{$s['id']}" {if $s['id'] == $activity['smsnotice']}selected="selected"{/if}>{$s['title']}</option>
							{/loop}
						</select>
					{else}
						<span class="btn btn-default" disabled>需要【dayu短信】支持</span>
					{/if}
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-xs-12 col-sm-3 col-md-2 control-label">通知内容</label>
                    <div class="col-xs-12 col-sm-9">
						<select name="smstype" class='form-control'>
							<option value="1" {if $activity['smstype'] == 1}selected="selected"{/if}>姓名、手机、表单标题</option>
							<option value="2" {if $activity['smstype'] == 2}selected="selected"{/if}>姓名、手机、表单所有内容</option>
						</select>
                    </div>
                </div>
            </div>
        </div>
        <div class="panel panel-success">
            <div class="panel-heading">通知消息设置</div>
            <div class="panel-body">
                <div class="form-group">
                    <label class="col-xs-12 col-sm-3 col-md-2 control-label">微信端管理员</label>
                    <div class="col-xs-12 col-sm-8">
                    	<input type="text" class="form-control" value="表单列表 - 客服管理 中设置" disabled />
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-xs-12 col-sm-3 col-md-2 control-label">通知消息接口</label>
                    <div class="col-xs-12 col-sm-9">
		 				<label class="radio-inline"><input type="radio" name="custom_status" value="0" {if empty($activity) || $activity['custom_status'] == 0} checked="checked"{/if} onclick="$('#turntable').show();" /> 使用模板消息(服务号)</label>
                		<label class="radio-inline"><input type="radio" name="custom_status" value="1" {if $activity['custom_status'] == 1} checked="checked"{/if} onclick="$('#turntable').hide();" /> 使用客服消息(服务号/订阅号)</label>
                    </div>
                </div>
		<div id="turntable"{if $activity['custom_status'] == 0} style="display:block"{else} style="display:none"{/if}>
                <div class="form-group" style="background-color:#eee;">
                    <label class="col-xs-12 col-sm-3 col-md-2 control-label">客服模板消息ID</label>
                    <div class="col-xs-12 col-sm-8">
                    <div class="input-group">
                    	<input type="text" name="k_templateid" class="form-control" value="{$activity['k_templateid']}" /><span class="input-group-addon">参考模板消息：万能表单客服通知（IT，互联网）OPENTM207664625</span>
                    </div>
					</div>
                </div>
                <div class="form-group">
                    <label class="col-xs-12 col-sm-3 col-md-2 control-label"></label>
                    <div class="col-xs-12 col-sm-8">
                    <div class="input-group">
                    <span class="input-group-addon">标题(如：有新的客户提交表单，请及时确认)：</span><input type="text" name="kfirst" class="form-control" value="{$activity['kfirst']}" />
                    </div>
					</div>
                </div>
                <div class="form-group">
                    <label class="col-xs-12 col-sm-3 col-md-2 control-label"></label>
                    <div class="col-xs-12 col-sm-8">
                    <div class="input-group">
                    <span class="input-group-addon">{{keyword1.DATA}}：</span><input type="text" class="form-control" value="客户姓名" readonly="readonly"/>
                    </div>
					</div>
                </div>
                <div class="form-group">
                    <label class="col-xs-12 col-sm-3 col-md-2 control-label"></label>
                    <div class="col-xs-12 col-sm-8">
                    <div class="input-group">
                    <span class="input-group-addon">{{keyword2.DATA}}：</span><input type="text" class="form-control" value="客户手机" readonly="readonly"/>
                    </div>
					</div>
                </div>
                <div class="form-group">
                    <label class="col-xs-12 col-sm-3 col-md-2 control-label"></label>
                    <div class="col-xs-12 col-sm-8">
                    <div class="input-group">
                    <span class="input-group-addon">{{keyword3.DATA}}：</span><input type="text" class="form-control" value="提交时间" readonly="readonly"/>
                    </div>
					</div>
                </div>
                <div class="form-group">
                    <label class="col-xs-12 col-sm-3 col-md-2 control-label"></label>
                    <div class="col-xs-12 col-sm-8">
                    <div class="input-group">
                    <span class="input-group-addon">{{keyword4.DATA}}：</span><input type="text" class="form-control" value="表单所有项目" readonly="readonly"/>
                    </div>
					</div>
                </div>
                <div class="form-group">
                    <label class="col-xs-12 col-sm-3 col-md-2 control-label"></label>
                    <div class="col-xs-12 col-sm-8">
                    <div class="input-group">
                    <span class="input-group-addon">尾注(如：点击处理客户提交的表单。)：</span><input type="text" name="kfoot" class="form-control" value="{$activity['kfoot']}" />
                    </div>
					</div>
                </div>
                <div class="form-group" style="background-color:#eee;">
                    <label class="col-xs-12 col-sm-3 col-md-2 control-label">用户模板消息ID</label>
                    <div class="col-xs-12 col-sm-8">
                    <div class="input-group">
                    	<input type="text" name="m_templateid" class="form-control" value="{$activity['m_templateid']}" /><span class="input-group-addon">参考模板消息：万能表单用户通知（IT，互联网）OPENTM207664628</span>
                    </div>
					</div>
                </div>
                <div class="form-group">
                    <label class="col-xs-12 col-sm-3 col-md-2 control-label"></label>
                    <div class="col-xs-12 col-sm-8">
                    <div class="input-group">
                    <span class="input-group-addon">标题(如：受理结果通知)：</span><input type="text" name="mfirst" class="form-control" value="{$activity['mfirst']}" />
                    </div>
					</div>
                </div>
                <div class="form-group">
                    <label class="col-xs-12 col-sm-3 col-md-2 control-label"></label>
                    <div class="col-xs-12 col-sm-8">
                    <div class="input-group">
                    <span class="input-group-addon">{{keyword1.DATA}}：</span><input type="text" class="form-control" value="客户姓名" readonly="readonly"/>
                    </div>
					</div>
                </div>
                <div class="form-group">
                    <label class="col-xs-12 col-sm-3 col-md-2 control-label"></label>
                    <div class="col-xs-12 col-sm-8">
                    <div class="input-group">
                    <span class="input-group-addon">{{keyword2.DATA}}：</span><input type="text" class="form-control" value="客户手机" readonly="readonly"/>
                    </div>
					</div>
                </div>
                <div class="form-group">
                    <label class="col-xs-12 col-sm-3 col-md-2 control-label"></label>
                    <div class="col-xs-12 col-sm-8">
                    <div class="input-group">
                    <span class="input-group-addon">{{keyword3.DATA}}：</span><input type="text" class="form-control" value="客服受理时间" readonly="readonly"/>
                    </div>
					</div>
                </div>
                <div class="form-group">
                    <label class="col-xs-12 col-sm-3 col-md-2 control-label"></label>
                    <div class="col-xs-12 col-sm-8">
                    <div class="input-group">
                    <span class="input-group-addon">{{keyword4.DATA}}：</span><input type="text" class="form-control" value="客服受理状态及回复" readonly="readonly"/>
                    </div>
					</div>
                </div>
                <div class="form-group">
                    <label class="col-xs-12 col-sm-3 col-md-2 control-label"></label>
                    <div class="col-xs-12 col-sm-8">
                    <div class="input-group">
                    <span class="input-group-addon">尾注(如：如有疑问，请致电联系我们。)：</span><input type="text" name="mfoot" class="form-control" value="{$activity['mfoot']}" />
                    </div>
					</div>
                </div>
                <div class="form-group">
                    <label class="col-xs-12 col-sm-3 col-md-2 control-label"></label>
                    <div class="col-xs-12 col-sm-8">
                    <div class="input-group">
                    <span class="input-group-addon">自定义模板消息链接：</span><input type="text" name="noticeurl" class="form-control" value="{$par['noticeurl']}" />
                    </div>
					<span class="help-block">http://开头；留空，默认链接为提交记录列表页。</span>
					</div>
                </div>
            </div>
        </div>
        </div>